package com.dingreading.cloud.soms.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.*;
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;
import com.alibaba.excel.enums.poi.VerticalAlignmentEnum;
import lombok.Data;

@Data
@HeadRowHeight(25)
@ContentRowHeight(25)
@ColumnWidth(18)
// 内容字体设置成20
@ContentFontStyle(fontHeightInPoints = 13)
@ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER, verticalAlignment = VerticalAlignmentEnum.CENTER)
public class SignInVO {

    @ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER, verticalAlignment = VerticalAlignmentEnum.TOP)
    @ExcelProperty(value = "签到会员数量")
    private Integer memberNum;

    @ExcelProperty(value = "会员名称")
    private String memberName;

    @ExcelProperty(value = "签到次数")
    private Integer storeInNum;

    @ExcelProperty(value = "签到总次数")
    private Integer signInCnt;

    @ExcelProperty(value = "门店名称")
    private String storeName;

    @ExcelProperty(value = "到店状态")
    private String status;

    @ExcelProperty(value = "在店时长")
    private String duration;

    @ColumnWidth(20)
    @ExcelProperty(value = "到店时间")
    private String arrivalTime;

    @ColumnWidth(20)
    @ExcelProperty(value = "离店时间")
    private String leaveTime;

    @ColumnWidth(20)
    @ExcelProperty(value = "创建时间")
    private String addTime;

}
